import * as address from './controller'

export const baseUrl = '/address'

export default [
 {
    method: 'POST',
    route: '/getAddress',
    handlers: [address.checkToken,address.getAddress]
},
 {
    method: 'POST',
    route: '/addAddress',
    handlers: [address.checkToken,address.addAddress]
},
 {
    method: 'POST',
    route: '/updateAddress',
    handlers: [address.checkToken,address.updateAddress]
},
 {
    method: 'POST',
    route: '/deleteAddress',
    handlers: [address.checkToken,address.deleteAddress]
} 
]